package top.lingchen.spring5.test;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Author 凌宸
 * @create 2021-12-01 上午 12:35
 * @Description
 * @Version 1.0
 */
public class UserLog {

    private static final Logger log = LoggerFactory.getLogger(UserLog.class);

    public static void main(String[] args) {
        log.info("hello log4j2");
        log.warn("hello log4j2");
        /**
         * 2021-12-01 00:38:05.049 [main] INFO  top.lingchen.spring5.test.UserLog - hello log4j2
         * 2021-12-01 00:38:05.056 [main] WARN  top.lingchen.spring5.test.UserLog - hello log4j2
         */
    }


}
